import React from 'react';
import { Route ,Switch ,Link} from 'react-router-dom';
import { BrowserRouter as Router} from 'react-router-dom';
import User from './pages/user'
const App = () =>{
  return (
    <div className="footer">
    <Router>
    <Link to="/user/sunboy25">sunboy25</Link>
    
      <Switch>
      
      <Route path="/user/:loginname" component={User} />
      </Switch>
      </Router>
    </div>
  )
}

export default App;

